SET currentDir="%~dp0"
cd /d "%currentDir%"

call antlr Island.g4

rem dir gen\Island*

call compile gen\Island*.java

call grun Island file test.java

call grun Island file test.java -tokens
rem ctrl z

call grun Island file test.java -tree

call grun Island file test.java -gui
pause